package net.lukecloud.xile.model;

/**
 * Created by jmy on 2017/7/21.
 */

public class Account {

    long id;
    String login;
     String firstName;
     String lastName;
    String email;
    String imageUrl;
    String langKey;
    String[] authorities;

    public String getShowName() {
        return firstName+lastName;
    }

    public String getImageUrl() {
        return imageUrl;
    }
//              "login": "admin",
//              "firstName": "Administrator",
//              "lastName": "Administrator",
//              "email": "admin@localhost",
//              "imageUrl": "",
//              "activated": true,
//              "langKey": "en",
//              "createdBy": "system",
//              "createdDate": "2017-07-21T08:01:28.518Z",
//              "lastModifiedBy": "system",
//              "lastModifiedDate": null,
//              "authorities": [
//              "ROLE_USER",
//              "ROLE_ADMIN"
//              ]
}
